package com.ryoma.Utils;

import java.util.HashMap;
import java.util.Map;

public class Consts {

    public static final String BANGONGYI_loginName = "办公逸";

    public static final String PLACEHOLDER = "$PLACEHOLDER"; //占位符

    public static final String GETATTENDANCEMSG = "GetAttendanceMsg";//获取办公逸推送信息

    public static final String GETSTAFFMSG = "GetStaffMsg";//

    public static final String GETDEPARTMENTMSG = "GetDepartmentMsg";

    public static final String TIMESTAP = "timestamp";

    public static final String NONCE = "nonce";

    public static final String ECHOSTR = "echostr";


    public static final int ATTENDANCE_TYPE = 3;//日志表类型为办公逸打卡


    public static Map<String,Object> idIndexParam = new HashMap<String, Object>();

    public static final String loginNameFilter = "#{loginName}";
    public static final String pwd = "#{password}";

    public static final String loginCode = "login";

    public static final String dataRows = "rows";

    public static final String HOISTINFO = "HoistInfo";

    public static final String keyParams = "&ForeignKey=";


    //url Code
    public static final String login_URL = "PostType=key&loginName=#{loginName}&pwd=#{password}";

    public static final String GetEngineeringOrEquipmenttList_URL = "GetEngineeringOrEquipmenttList";//获取用户下的工程和设备

    public static final String GetTowerCraneBaseInfoForTwo_URL = "GetTowerCraneBaseInfoForTwo";//获取塔吊基本信息

    public static final String GetTowerCraneLiveDataWithDriverInfo_URL = "GetTowerCraneLiveDataWithDriverInfo";//获取塔吊实时数据

    public static final String GetElevatorBaseInfoForTwo_URL = "GetElevatorBaseInfoForTwo";//获取升降机基本信息

    public static final String GetElevatorLiveDataForTwo_URL = "GetElevatorLiveDataForTwo";//获取升降机实时数据

    public static final long TOWERCRANE = 1;//塔吊


    //logType
    public static long logType_login = 1;//登录获取token

    public static long logType_EngineeringOrEquipmenttList = 2;//获取用户下的工程和设备

    public static long logType_TowerCraneBase = 3;//获取塔吊基本信息

    public static long logType_TowerCraneLiveData = 4;//获取塔吊实时数据

    public static long logType_ElevatorBaseInfo = 5;  //获取升降机基本信息

    public static long logType_ElevatorLiveData = 6;  //获取升降机实时数据

    public static long logType_DeviceOperationInfo = 7;//获取设备运营信息

    public static long logType_DustLiveData = 8;//获取扬尘实时数据

    //
    public static String DEVICE = "Device";

    public static String PROJECT = "Project";

    public static String USER = "User";

    public static final String DEVELOPMENT_DB = "development";

    public static final String TOWERCRANE_DB = "towercrane";

    public static final long TOWERCRANEPROXYPLATFORM_URL_TYPE = 1;//中正塔吊相关URL

    public static final long BANGONGYIPROXYPLATFORM_URL_TYPE = 2;//办公逸打卡信息相关URL

    public static final long TOWERCRANE_URL_TYPE = 3;//塔吊实时数据相关URL

    public static long LastTowerCraneId = 0;

    //接收方接口类型
    public static long EndPointType_POST = 1;//POST

    public static long EndPointType_WebService = 2;//WEBSERVICE
}
